package tasks

import (
	"log"

	"github.com/robfig/cron/v3"
)

func StartCron() {
	c := cron.New()
	c.AddFunc("@every 1m", func() {
		log.Println("Running a periodic task")
	})
	c.Start()
}
